﻿<Page x:Class="University.Workshop.Presentation.Users.ChangePassword"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 

      xmlns:WFPControls="clr-namespace:University.Workshop.Presentation.ControlWPF"
      mc:Ignorable="d" 
      Height="563" Width="780"
	Title="ChangePassword" Loaded="Page_Loaded">

    <Grid Height="563" Width="780" 
          MaxHeight="563" MaxWidth="780" 
          MinHeight="563" MinWidth="780" 
          HorizontalAlignment="Center" VerticalAlignment="Top">
        <Path Data="F1M89,500C86.791,500,85,501.791,85,504L85,504L85,538C85,540.209,86.791,542,89,542L89,542L1081,542C1083.209,542,1085,540.209,1085,538L1085,538L1085,504C1085,501.791,1083.209,500,1081,500L1081,500z" Height="50" Margin="20,0,12,459" Stretch="Fill" Stroke="#FFB6BDBA" VerticalAlignment="Bottom">
            <Path.Fill>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FFF0F9F6" Offset="0" />
                    <GradientStop Color="sc#1, 0.8645034, 0.9386971, 0.9131128" Offset="0.036626586095394487" />
                    <GradientStop Color="sc#1, 0.849580646, 0.919979036, 0.8946999" Offset="0.046193367402403762" />
                    <GradientStop Color="sc#1, 0.8297841, 0.8951477, 0.8702733" Offset="0.052599494473647423" />
                    <GradientStop Color="sc#1, 0.8061086, 0.86545074, 0.8410604" Offset="0.057584354782454161" />
                    <GradientStop Color="sc#1, 0.7912979, 0.8468732, 0.822785735" Offset="0.059999998658895493" />
                    <GradientStop Color="#FFE6EDEA" Offset="0.059999998658895493" />
                    <GradientStop Color="#FFE6EDEA" Offset="1" />
                </LinearGradientBrush>
            </Path.Fill>
        </Path>
        <TextBlock FontSize="21" FontWeight="Bold" Margin="28,62,535,464" TextWrapping="Wrap"><TextBlock.Effect><DropShadowEffect BlurRadius="1" Color="White" Direction="270" Opacity="0.7" ShadowDepth="1" /></TextBlock.Effect> <Run Language="es-es" Text="Cambiar Contraseña" /></TextBlock>
        <Button Content="Cancelar" Foreground="Black" Height="34" FontWeight="Bold" Margin="638,62,22,467" Name="CancelBtn" Click="CancelBtn_Click" />
        <Path Data="F1M89,500C86.791,500,85,501.791,85,504L85,504L85,538C85,540.209,86.791,542,89,542L89,542L1081,542C1083.209,542,1085,540.209,1085,538L1085,538L1085,504C1085,501.791,1083.209,500,1081,500L1081,500z" Fill="#FFD8E0DD" Margin="276,63,374,470" Stretch="Fill" Stroke="#4D9A8C8C" />
        <Label Content="Datos Usuario" FontFamily="Aharoni" FontSize="11" Margin="290,75,381,472" Name="lblStepOne">
            <Label.Effect>
                <DropShadowEffect BlurRadius="1" Color="White" Direction="270" ShadowDepth="1" />
            </Label.Effect>
        </Label>
        <Path Data="F1M89,500C86.791,500,85,501.791,85,504L85,504L85,538C85,540.209,86.791,542,89,542L89,542L1081,542C1083.209,542,1085,540.209,1085,538L1085,538L1085,504C1085,501.791,1083.209,500,1081,500L1081,500z" Height="42" Margin="12,470,12,0" Stretch="Fill" Stroke="#FFB6BDBA" VerticalAlignment="Top">
            <Path.Fill>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FFF0F9F6" Offset="0" />
                    <GradientStop Color="sc#1, 0.8645034, 0.9386971, 0.9131128" Offset="0.036626586095394487" />
                    <GradientStop Color="sc#1, 0.849580646, 0.919979036, 0.8946999" Offset="0.046193367402403762" />
                    <GradientStop Color="sc#1, 0.8297841, 0.8951477, 0.8702733" Offset="0.052599494473647423" />
                    <GradientStop Color="sc#1, 0.8061086, 0.86545074, 0.8410604" Offset="0.057584354782454161" />
                    <GradientStop Color="sc#1, 0.7912979, 0.8468732, 0.822785735" Offset="0.059999998658895493" />
                    <GradientStop Color="#FFE6EDEA" Offset="0.059999998658895493" />
                    <GradientStop Color="#FFE6EDEA" Offset="1" />
                </LinearGradientBrush>
            </Path.Fill>
        </Path>

        <Label Content="Nombre de Usuario" Height="28" HorizontalAlignment="Left" Margin="242,217,0,0" Name="label1" VerticalAlignment="Top" Width="117" />
        <Label Content="Contraseña actual" Height="28" HorizontalAlignment="Left" Margin="251,251,0,0" Name="label2" VerticalAlignment="Top" />
        <Label Content="Contraseña nueva" Height="28" HorizontalAlignment="Left" Margin="248,293,0,0" Name="label3" VerticalAlignment="Top" />
        <Label Content="Repetir contraseña nueva" Height="28" HorizontalAlignment="Left" Margin="209,0,0,208" Name="label4" VerticalAlignment="Bottom" />
        <Label Content="-" Height="28" HorizontalAlignment="Left" Margin="394,217,0,0" Name="LoginLbl" VerticalAlignment="Top" />
        <PasswordBox Height="23" MaxLength="30" HorizontalAlignment="Left" Margin="396,251,0,0" Name="OldPasswordTxt" VerticalAlignment="Top" Width="120" CommandManager.PreviewCanExecute="CantCupyPasteOrCut" PreviewKeyDown="PersonNamesTxt_PreviewKeyDown"/>
        <PasswordBox Height="23" MaxLength="30" HorizontalAlignment="Left" Margin="396,293,0,0" Name="NewPasswordTxt" VerticalAlignment="Top" Width="120" CommandManager.PreviewCanExecute="CantCupyPasteOrCut" PreviewKeyDown="PersonNamesTxt_PreviewKeyDown"/>
        <PasswordBox Height="23" MaxLength="30" HorizontalAlignment="Left" Margin="396,327,0,0" Name="RetypePasswordTxt" VerticalAlignment="Top" Width="120" CommandManager.PreviewCanExecute="CantCupyPasteOrCut" PreviewKeyDown="PersonNamesTxt_PreviewKeyDown"/>



        <Button Content="Modificar" Height="34" Margin="628,474,-23,0" Name="ModifyBtn"  TabIndex="45" FontWeight="Bold" VerticalAlignment="Top" Width="100" Click="ModifyBtn_Click" />
        <Button Content="1" FontFamily="Segoe UI" FontSize="14" FontStretch="Normal" FontWeight="Bold" HorizontalAlignment="Left" IsEnabled="True" Margin="251,61,0,469" Name="GoStepOne" Width="33" />
        <Label Content="* - Datos Obligatorios" Height="28" HorizontalAlignment="Left" Margin="209,401,0,0" Name="label6" VerticalAlignment="Top" Width="143" />
        <Label Content="*" HorizontalAlignment="Left" Margin="522,255,0,0" VerticalAlignment="Top" Width="14" />
        <Label Content="*" HorizontalAlignment="Left" Margin="522,296,0,0" VerticalAlignment="Top" Width="18" />
        <Label Content="*" HorizontalAlignment="Left" Margin="522,330,0,0" VerticalAlignment="Top" Width="18" />
        <Label Content="Usa de 6 a 30 caracteres, y" Height="36" HorizontalAlignment="Left" Margin="546,293,0,0" Name="label5" VerticalAlignment="Top" Width="181" VerticalContentAlignment="Top" />
        <Label Content="no uses el nombre de usuario" Height="28" HorizontalAlignment="Left" Margin="546,309,0,0" Name="label7" VerticalAlignment="Top" />
    </Grid>
</Page>
